package com.design.策略模式;

public class Context<T> {

	private Strategy<T> strategy;
	
	public Context(Strategy<T> strategy) {
		this.strategy = strategy;
	}
	
	public T convert(String str) {
		return strategy.convert(str);
	}
	
}
